package com.ymatou.query.seller.trading.api.parameter.Seller;

import java.lang.reflect.Field;
import java.util.HashMap;

import com.ymttest.common.entitie.JavaResponse;

public class ExistsSellerOrdersResponse extends JavaResponse {
	// Summary:
	// 待接单
	private boolean ToBeAccepted;
	//
	// Summary:
	// 待发起补款
	private boolean ToBeAppliedPostpay;
	//
	// Summary:
	// 已发货
	private boolean ToBeConfirmed;
	//
	// Summary:
	// 等待发布
	private boolean ToBeDelivered;
	//
	// Summary:
	// 待付款
	private boolean ToBePaid;
	//
	// Summary:
	// 补款中
	private boolean ToBePostpaid;

	/**
	 * 订单状态和对应的数量HashMap<订单状态，订单数量>
	 */
	private HashMap<Integer, Integer> OrderCountDic;

	public boolean isToBeAccepted() {
		return ToBeAccepted;
	}

	public void setToBeAccepted(boolean toBeAccepted) {
		ToBeAccepted = toBeAccepted;
	}

	public boolean isToBeAppliedPostpay() {
		return ToBeAppliedPostpay;
	}

	public void setToBeAppliedPostpay(boolean toBeAppliedPostpay) {
		ToBeAppliedPostpay = toBeAppliedPostpay;
	}

	public boolean isToBeConfirmed() {
		return ToBeConfirmed;
	}

	public void setToBeConfirmed(boolean toBeConfirmed) {
		ToBeConfirmed = toBeConfirmed;
	}

	public boolean isToBeDelivered() {
		return ToBeDelivered;
	}

	public void setToBeDelivered(boolean toBeDelivered) {
		ToBeDelivered = toBeDelivered;
	}

	public boolean isToBePaid() {
		return ToBePaid;
	}

	public void setToBePaid(boolean toBePaid) {
		ToBePaid = toBePaid;
	}

	public boolean isToBePostpaid() {
		return ToBePostpaid;
	}

	public void setToBePostpaid(boolean toBePostpaid) {
		ToBePostpaid = toBePostpaid;
	}

	public HashMap<Integer, Integer> getOrderCountDic() {
		return OrderCountDic;
	}

	public void setOrderCountDic(HashMap<Integer, Integer> orderCountDic) {
		this.OrderCountDic = orderCountDic;
	}

	public static void main(String[] args) {
		Class c = ExistsSellerOrdersResponse.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("response.set" + s
					+ "(l.stream().anyMatch(x->x.containsValue(\"" + s
					+ "\")));");
			//			System.out.println("DataUtil.verifyEquals(expectedResponse.is"+s+"(), actualResponse.is"+s+"(), \"验证"+s+"\");");
		}
	}
}
